package cn.qicaiwang.open.websocket.service.impl;


import cn.qicaiwang.open.websocket.mapper.ChatContactMapper;
import cn.qicaiwang.open.websocket.service.IChatContactService;
import cn.qicaiwang.open.websocket.vo.ChatContactVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChatContactsService implements IChatContactService {
    @Autowired
    private ChatContactMapper chatContactMapper;

    @Override
    public List<ChatContactVO> contacts(String keywords) {
        return chatContactMapper.contacts(keywords);
    }
}
